package org.or5e.oss.core.api.bm;

import java.util.HashMap;

import org.or5e.oss.core.BaseObject;

public class BulkMailContext extends BaseObject {

	private HashMap<String, Object> context = new HashMap<String, Object>();
	
	public final synchronized void setAttribute(String key, Object value) {
		context.put(key, value);
	}

	public final synchronized Object getAttribute(String key) {
		return context.get(key);
	}

	@Override
	public String getName() {
		return "BulkMailContext";
	}
}